import java.io.*;
public class testmain2 {
    public static void main(String[] args)throws Exception {
        File f = new File("D:" + File.separator + "muyan" + File.separator + "vip" + File.separator + "yootk.txt");
        if (f.exists()) {
            try (InputStream input = new FileInputStream(f)) {
                byte data[] = new byte[1024];
                int len = input.read(data);
                System.out.println("读取到的数据内容【" + new String(data, 0, len) + "】");
            } catch (Exception e) {
            }
        }
    }
}
